#pragma once
#include <list>
#include "Particle.h"

class ForceGenerator
{
protected:
	std::list<Particle*> particles;
	bool active;

public:
	ForceGenerator(void);
	~ForceGenerator(void);

	void setActive(bool _active);
	bool isActive();

	void add(Particle* particle);
	void remove(Particle* particle);
	bool find(Particle* particle);
	void clear();

	virtual void update(int delta)=0;
};

